<div >
<table style="margin:100px 100px;">
<tr>
<th> Standard</th> 
<th> Section </th> 



</tr>
<?php
foreach ($query as $row)
{
   echo "<tr>";
   echo "<td>".$row->standard."</td>";
   //echo "<td>".$row->section."</td>";
   echo "</tr>";
}
?>
</table>
</div>